try {
	Type.registerNamespace('MarCodeResultVO');

	//物料码解析结果VO
	MarCodeResultVO = function() {};
	MarCodeResultVO.prototype = new NCMMPubUtil.SuperVO();

	//物料主键
	MarCodeResultVO.PKMATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	MarCodeResultVO.CODE = {
		name: "code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//生产批次号
	MarCodeResultVO.VPRODBATCHCODE = {
		name: "vprodbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存批次号
	MarCodeResultVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存批次主键
	MarCodeResultVO.PKBATCH = {
		name: "pk_batch",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	MarCodeResultVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//异常信息
	MarCodeResultVO.FAILMSG = {
		name: "failmsg",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	MarCodeResultVO.prototype.getAllAttrs = function() {
		return [MarCodeResultVO.PKMATERIAL,
			MarCodeResultVO.CODE,
			MarCodeResultVO.VPRODBATCHCODE,
			MarCodeResultVO.VBATCHCODE,
			MarCodeResultVO.PKBATCH,
			MarCodeResultVO.VSERIALCODE,
			MarCodeResultVO.FAILMSG
		];
	};
} catch(e) {
	$e(e);
}